﻿using MediatR;
using SCM.ErrorCode;
using SCM.Extensions.Ledger;

namespace SCM.API.Read.Application.Command.Ledger
{
    public class GetWarnCommand:IRequest<APIPaging<WarnDTO>>
    {
        public int PageIndex { get; set; } = 1;
        public int PageSize { get; set; } = 15;
        /// <summary>
        /// 产品名称
        /// </summary>
        public string? ProductName { get; set; }
        /// <summary>
        /// 库存下限
        /// </summary>
        public int? Lower { get; set; }
        /// <summary>
        /// 库存上限
        /// </summary>
        public int? Upper { get; set; }
    }
}
